/**
 * Created by 94513 on 2017/4/8.
 */
var pet = {
    words: '...',
    speak: function (say) {
        console.log(say + " " + this.words);
    }
};

// pet.speak("Speak");
var dog = {
    words: "Wang"
};

pet.speak.call(dog, "Speak");